package com.tiangou.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(value = "GOODS-SERVICE")
public interface GoodsFeign {
    @PostMapping("/goods/getgoodsname2")
    String Getgoods2(@RequestParam String name);
}
